package com.demo.flight.service;

import com.demo.flight.entity.Flight;

import java.util.List;

/**
 * @author ssy
 * @create 2022-03-23 18:00
 */
public interface FlightService {
    Flight getOneById(Integer flightId);
    List<Flight> getAll();
    boolean add(Flight flight);
    boolean delete(Integer flightId);
    boolean update(Flight flight);
}
